'''
Created on Jul 15, 2009

@author: harry
'''

from google.appengine.ext import db

class CodeSnippet(db.Model):
    id = db.IntegerProperty()
    title = db.StringProperty()
    language = db.StringProperty()
    owner = db.UserProperty()
    created_at = db.DateTimeProperty(auto_now_add=True)
    updated_at = db.DateTimeProperty(auto_now=True)
    code = db.TextProperty()
    comment = db.TextProperty()